gtk: focus out the GtkIMContextWayland upon finalization.
authorJehan <jehan@girinstud.io>
Mon, 29 Jun 2020 20:12:53 +0000 (22:12 +0200)
committerJehan <jehan@girinstud.io>
Mon, 29 Jun 2020 20:17:08 +0000 (22:17 +0200)
commit7ccf32db5781db9e4a299b9936e562b50378bbf7
tree84f99731806b47bb1ccf7348af72b4623f822bfa
parent520c2116a3df847c1093722d87aa26806fd3568a
gtk: focus out the GtkIMContextWayland upon finalization.

In particular, it will NULL-ified the current global context if this is
the finalized one, avoiding dangling invalid pointers.

Would have been a cherry-pick from branch gtk-3-24 of commit
b592ded80ad4825d115317ba6750a086da0434c0, but files moved.
gtk/gtkimcontextwayland.c